package com.automapper.query;

import com.automapper.constants.FetchMode;

public class CriteriaFactory {
	
	private CriteriaFactory(){}

	public static Criteria createQuery(Class<?> clazz) {
		return new CriteriaImpl(clazz);
	}
	
	public static Criteria createQuery(Class<?> clazz, String tableName, String alias, FetchMode fetchMode) {
		return new CriteriaImpl(clazz, tableName, alias, fetchMode);
	}
}
